package cn.chaohi.utils;

/**
 * @author Mr.zhou
 */
public class HiCoinUtil {

    /**
     * 根据汇率与嗨币数转换为金额
     * @param rate
     *              汇率
     * @param coinCount
     *              嗨币数
     */
    public static int getMoneyByRate(Integer rate, int coinCount) {
        return rate *  coinCount / 100;
    }
}
